<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%> 
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%> 
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>

<tr bgcolor="#FFFFFF" align=center>
<td class="text_searchbold" width="5%">
Delete?
</td>
<td class="text_searchbold">
Message Name
</td>
<td class="text_searchbold" width="20%">
Issue Date
</td>
<td class="text_searchbold" width="20%">
Edit
</td>

</tr>
<form method=POST action=<html:rewrite page="/message.do"/> >
<logic:present name="messages">
<logic:iterate scope="request" name="messages" id="message">
<tr>
<td bgcolor="#FFFFFF" width=30>
<input type='checkbox' name='delmessages' value='<bean:write name="message" property="id" />' />
</td>
<td bgcolor="#FFFFFF">
<html:link page="/message.do?mode=view" paramName="message" paramProperty="id" paramId="id">
<bean:write name="message" property="subject" />
</html:link></td>
<td bgcolor="#FFFFFF">
<bean:write name="message" property="modified"/>
</td>
<td bgcolor="#FFFFFF">
<html:link page="/message.do?mode=edit" paramName="message" paramProperty="id" paramId="id">
Edit
</html:link>
</td>
</tr>
</logic:iterate>
</logic:present>
<tr>
<td bgcolor="#FFFFFF" colspan=4>
<input class=buton type=submit value="Delete Selected Messages"/>
</td>

</tr>
<logic:present name="pagetk">
<tr>
<td colspan=2 bgcolor="#FFFFFF">
Pages 
<logic:iterate scope="request" name="pagetk" id="token">
<html:link page="/message.do" name="token" property="params">
<bean:write name="token" property="no"/>
</html:link>
&nbsp;|&nbsp;
</logic:iterate>
</td>
</tr>
</logic:present>
</form>